﻿namespace Jim.SHR;

/// <summary>3. 加班单同步</summary>  
[Sdk("saveOverTimeBill", "加班单同步")]
public class SHRSaveOverTimeBillRequest : ISdkRequest<SHRSaveOverTimeBillResponse>
{
    [Description("加班日期")]
    public string OTdate { get; set; }
    [Description("实际加班开始时间")]
    public string RealStartTime { get; set; }
    [Description("实际加班结束时间")]
    public string RealEndTime { get; set; }
    [Description("休息时长")]
    public double RestTime { get; set; }
    [Description("加班小时数")]
    public double ApplyOTTime { get; set; }
    [Description("加班类型编码")]
    public string OtType { get; set; }
    [Description("加班原因编码")]
    public string OtReason { get; set; }
    [Description("加班补偿方式编码")]
    public string OtCompens { get; set; }
    [Description("说明")]
    public string Description { get; set; }
    [Description("加班申请人编码")]
    public string PersonNum { get; set; }
    [Description("只为1-只做校验不保存")]
    public int OnlyCheck { get; set; }

}

public class SHRSaveOverTimeBillResponse : SdkResponse<SHRKQResult> { }